import { createRouter, createWebHistory } from 'vue-router'
import HomeView from './views/HomeView.vue'
import FlightSearchView from './views/FlightSearchView.vue'
import ServicesView from './views/ServicesView.vue'
import ChatView from './views/ChatView.vue'

const routes = [
  { path: '/', component: HomeView },
  { path: '/flights', component: FlightSearchView },
  { path: '/services', component: ServicesView },
  { path: '/chat', component: ChatView }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router